﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TestOnlineProject.Models.Entities;

namespace TestOnlineProject.Models.DataAccess
{
    public class TestTypeDAO
    {
        TestOnlineDBEntities db = new TestOnlineDBEntities();

        public List<TestType> Select()
        {
            var testTypes = db.TestTypes.ToList();
            return testTypes;
        }
    }
}